package com.manager.car.dao;

import java.util.List;

import com.manager.car.po.MessageInfo;


public interface IMessageDao {

			//添加
		    public boolean save(MessageInfo meg);
			//修改
		    public boolean update(MessageInfo meg);
		    //删除
		    public boolean delete(Integer id);
		    //根据id查询
		    public MessageInfo queryById(Integer id);
		    //查询数据
		    public List<MessageInfo> queryAll(String name,int limit,int page);
		    //查询总记录数
		    public int getcount(String name,int limit,int page);
}
